package com.wyp.design.pattern.creational.builder.v1;

/**
 * @author: yipeng.wang01@hand-china.com-25490
 * @TIME: 2019/12/31/11:38
 **/
public class CourseArticleBuilder extends CourseBuilder {
    private Course course = new Course();

    @Override
    void setCourseName(String courseName) {
        course.setCourseName(courseName);
    }

    @Override
    void setCoursePPT(String courseNamePPT) {
        course.setCoursePTT(courseNamePPT);
    }

    @Override
    void setCourVideo(String courseVideo) {
        course.setCourseVideo(courseVideo);
    }

    @Override
    void setCourseArticle(String courseArticle) {
        course.setCourseArticle(courseArticle);
    }

    @Override
    Course makeCourse() {
        return course;
    }
}
